package com.geneticAlgorithm.wines;

public class Grape {
	private String type;
	private int harvest;
	
	public Grape(String type, Integer harvest) {
		this.type = type;
		this.harvest = harvest;
	}
	
	public String getType() {
		return type;
	}
	
	public int getHarvest() {
		return harvest;
	}
	
	@Override
	public String toString(){
		String str = "\t\t Tipo: "+getType()+"\n";
		str += "\t\t Cosecha: "+getHarvest()+"\n";
		return str;
	}
}
